package com.ctshk.rpc.ship.req;

import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 船票信息req
 * </p>
 *
 * @author 刘蕾
 * @since 2021年03月08日
 */
@Data
@ApiModel(value = "ShipProductPageReq对象", description = "船票产品信息PageReq")
public class ShipZJProductIsRecommendedReq extends PageReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "產品ID")
    private String productId;

    @NotNull(message = "船公司类型不能为空")
    @ApiModelProperty(value = "船公司类型(1 信德船票，2 珠江船票)")
    private Long companyType;

    @NotNull(message = "出发城市id不能为空")
    @ApiModelProperty(value = "出发城市id")
    private String depCityId;

    @NotNull(message = "到达城市id不能为空")
    @ApiModelProperty(value = "到达城市id")
    private String arrCityId;

    @NotNull(message = "出发时间不能为空")
    @ApiModelProperty(value = "出发时间")
    private LocalDate startDate;

    @ApiModelProperty(value = "出发时间段")
    private LocalDateTime depTimeStart;

    @ApiModelProperty(value = "到达时间段")
    private LocalDateTime arrTimeStart;

    @NotNull(message = "出发地code不能为空")
    @ApiModelProperty(value = "出发地id")
    private String depPlaceCode;

    @NotNull(message = "到达地code不能为空")
    @ApiModelProperty(value = "到达地id")
    private String arrPlaceCode;

    @NotNull(message = "船舱等级不能为空")
    @ApiModelProperty(value = "船舱等级(1 普通舱，2 高级舱，3 豪华舱)")
    private String cabinClass;

    @NotNull(message = "票数不能为空")
    @ApiModelProperty(value = "票数")
    private Integer ticketNumber;


}
